detain (someone) in custody

Translations
держать (кого-то) под стражей
The court ordered to detain him in custody until the trial.
Суд постановил держать его под стражей до суда.